How to use theory to explain the relationship between variables